package dao;

import entity.Prescription;
import vo.PrescriptionCheckItemDepartmentVo;

import java.sql.SQLException;
import java.util.List;

public interface PrescriptionDao {

    /**
     * 查询某个病人的所有处方信息
     * @param patientId 病人ID
     * @return List<PrescriptionCheckItemDepartmentVo>
     * @throws SQLException 抛出sql异常
     */
    List<PrescriptionCheckItemDepartmentVo> getAllPrescriptionsByPatientId(int patientId) throws SQLException;

}
